Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatekeep mdns ipv6 behind feature flag #523

Merged
merged 7 commits into from
Nov 30, 2024
Merged

Conversation

indexds
Copy link
Contributor

@indexds indexds commented Nov 30, 2024

Hello,

This is a very ugly hack so you most likely do not want to merge this as is, i'm open to working on any modifications.
The point of the commit is that currently, if ipv6 is disabled in sdkconfig and mdns is imported as an external component in Cargo.toml, the project does not compile because the C functions called by mdns.rs aren't exposed anymore.

Is there a better way to do this? In the meantime, this worked for me.

Cargo.toml Outdated Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/mdns.rs Outdated Show resolved Hide resolved
@indexds
Copy link
Contributor Author

indexds commented Nov 30, 2024

This should be fine, lmk

@indexds indexds marked this pull request as ready for review November 30, 2024 15:44
@indexds indexds requested a review from ivmarkov November 30, 2024 17:14
@ivmarkov
Copy link
Collaborator

Thanks!

@ivmarkov ivmarkov merged commit 3f4a2c0 into esp-rs:master Nov 30, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants